package com.example.cdc.annotation;

import org.springframework.stereotype.Service;

import java.lang.annotation.*;

@Service
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CdcListener {

    //监听的表名
    String tableName() default "";
}
